package com.jic.order.service;

import com.jic.common.base.vo.Page;
import com.jic.common.base.vo.RestResult;
import com.jic.order.entity.OrderAfterSaleTime;
import com.jic.order.request.OrderAfterSaleTimeRequest;
import com.jic.order.response.OrderAfterSaleTimeResponse;
import com.jic.common.base.vo.PageResult;

import java.util.List;

/**
 * 订单售后有效期设置
 *
 * @author :
 * @version : v1.0.0
 * @email :
 * @since : 2020-01-17 02:38:00
 */
public interface OrderAfterSaleTimeService {

	long insert(OrderAfterSaleTime orderAfterSaleTime);

	long delete(Long id);

	long update(OrderAfterSaleTime orderAfterSaleTime);

	OrderAfterSaleTime queryByPrimaryKey(Long id);

	List<OrderAfterSaleTime> query(OrderAfterSaleTime orderAfterSaleTime);

	PageResult<OrderAfterSaleTimeResponse> queryPage(OrderAfterSaleTimeRequest orderAfterSaleTime, Page pageQuery);

	RestResult<String> regularOrdersAfterSaleTimely();

}